﻿using System;

namespace Glue.Converters
{
    internal class IntShortConverter:GlueDefaultConverter<int,short>
    {
        internal override short InternalMapTowardsRight(int from)
        {
            return Convert.ToInt16(from);
        }

        internal override int InternalMapTowardsLeft(short from)
        {
            return Convert.ToInt32(from);
        }
    }
}
